SetViewModeCommand

class SetViewModeCommand(mode: SetViewModeCommand.Mode, roiIndex: Int = 0, pitchMode: SetViewModeCommand.PitchMode = PitchMode.ABSOLUTE, frame: MavlinkCommand.Frame = Frame.COMMAND) : MavlinkCommand

MAVLink command which allows to set the view mode.

Parameters

mode

view mode

roiIndex

index of the Region Of Interest if mode is ROI (if index is invalid, ABSOLUTE mode is used instead); value is ignored for any other mode

pitchMode

Camera view mode. ABSOLUTE mode is used by default

frame

the reference frame of the coordinates.

Constructors

Link copied to clipboard
constructor(mode: SetViewModeCommand.Mode, roiIndex: Int = 0, pitchMode: SetViewModeCommand.PitchMode = PitchMode.ABSOLUTE, frame: MavlinkCommand.Frame = Frame.COMMAND)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

View mode.

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

The coordinate frame; set to global coordinate frame or relative altitude over ground.

Link copied to clipboard
Link copied to clipboard

the raw parameters of the command

Link copied to clipboard
Link copied to clipboard

The MAVLink command type

Link copied to clipboard

Index of ROI.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun write(writer: Writer, index: Int, frame: MavlinkCommand.Frame)

Writes the MAVLink command to the given writer.